home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / UTIL / KEYBOARD / FASTTASK / !FastTask / !Help < prev    next >
Text File  |  1995-04-10  |  16KB  |  308 lines

  1. FastTask version 1.00
  2. © Sam Kington 5th April 1994
  3. This program is freeware, *not* public domain – i.e., I retain copyright (see
  4. “Boring legal message”)
  5.  
  6. FastTask is RISC OS 3 only - sorry for anyone who still has RO2 (hello Kemal
  7. ;-) ). If you don’t want to read all of this, use interactive help instead.
  8.  
  9. Terminology note: I use “application” and “task” interchangeably throughout
  10. this document.
  11.  
  12. An HTMLised version of this is available as Docs.!Help/html, or on
  13. http://www.gla.ac.uk/Clubs/WebSoc/members/926286ki/acorn/FastTask.html
  14.  
  15. The TaskEnsure application is © Ben Summers - see Docs.TaskEnsure for more
  16. details. The WimpKey module - version 1.10 - is © Jason Williams and Sam
  17. Kington - see Docs.WimpKey for more details.
  18.  
  19. What this program does
  20. **********************
  21.  
  22.    FastTask allows you to start tasks from the keyboard, as if from the
  23. command line. Unlike the command line, it has a pretty good idea of where to
  24. find them as well, as it keeps a list of the most regularly-used directories,
  25. so after you’ve been using it for a while it should find most of your
  26. applications within seconds. Usually you would have to specify a
  27. complete path; with FastTask you just tell it the name of the task. Compare
  28. this with the time spend ploughing through directory structures, even if you
  29. have something like Director, and the gains are considerable.
  30.    
  31.    FastTask is the sort of program you should put in your Boot sequence, as
  32. most of its usefulness comes from it sitting in the corner quietly listening
  33. to the applications you’re running and where they came from. When you
  34. actually want to start a task with it, Select-click on its icon or press the
  35. hot-key (by default Shift-Insert, but you can change it later - see below). A
  36. small window will pop up, where you can type in the name of the task (a
  37. preceding ‘!’ is not necessary – see below). To start the thing going, press
  38. Return; press Escape to close the window. There isn’t an OK button or
  39. anything, but then you’ll be using the keyboard anyway so you don’t need one.
  40.  
  41.    FastTask will then go away and look in it’s “hit list” of directories, to
  42. see if the file you asked for is in any of those. Usually it will, and the
  43. longer you have had FastTask on your machine the higher the likelyhood of it
  44. finding it, but if it doesn’t it will search the entire directory tree until
  45. it finds the file or runs out of space (it can only cope with 256 directories).
  46. If it takes more than 20 seconds to find the file, you’d be better finding it
  47. yourself - remember that once you’ve opened the directory the task was in,
  48. FastTask will know about it and remember it next time.
  49.  
  50.    Every time FastTask successfully runs a task, the directory the task was
  51. in will be moved up the list. Conversely, if a directory is no longer present
  52. (floppy discs are prime candidates, but it could also happen if you've
  53. re-organised your directory structure), it will be moved down. If you choose
  54. the menu option “Show list” or have a look at the “Hits” file inside
  55. !FastTask, you’ll see that each directory has a number next to it – this is
  56. the number of times the directory has been accessed.
  57.  
  58. Creating a hit-list from scratch
  59. ********************************
  60.  
  61.    When you first get FastTask, you won’t have a hit-list - or if you do, you
  62. shouldn’t as it’s unlikely to work on your machine (how many of you out there
  63. have a hard-disc called CFS#IDEFS::HD110?). If there isn’t a file called
  64. “Hits” inside FastTask, FastTask will attempt to create one. First of all, it
  65. adds the root directory - taken as <System$Dir>.^.^.^.^.^. This is OK, as
  66. spurious “^”s are ignored - and if someone has !System more than five levels
  67. down their directory tree, I’ll be surprised. (I only have about ten files five
  68. levels down...)
  69.  
  70.    It then adds the library (%), System:Modules and Resources:$.Apps. It
  71. doesn’t bother with $ or &, because $ doesn’t expand correctly with CFS
  72. sometimes.
  73.  
  74.    Finally, it trawls through all the $Dir variables - i.e. FastTask$Dir,
  75. FinalLook$Dir etc. - and adds the parent directories, so if FastTask was 
  76. CFS#IDEFS::HD110.$.Utilities.Files.!FastTask, it would add
  77. CFS#IDEFS::HD110.$.Utilities.Files.
  78.  
  79.    This should be enough to get you started. The best way is to walk around
  80. opening all the directories you think you might need, so FastTask knows about
  81. them, which is the important bit. It will speed up later when it sorts them
  82. in the correct order, but in any case it will be faster than it looking
  83. through the whole tree, and going through your fonts, files, and other
  84. directories that don’t contain anything useful.
  85.  
  86.    Note that FastTask treats applications differently from directories - i.e.
  87. if you open a directory, it gets added to the list or promoted, if you open
  88. an application it doesn’t. Also, if FastTask finds an application when it’s
  89. searching the tree, it stops, it doesn’t look inside. If you have special
  90. applications that hold other applications (because you want them to have a
  91. nice picture), either run one of the applications while FastTask is loaded,
  92. or open up the application before you run FastTask for the first time, so the
  93. applications inside are booted and FastTask will know where they are when
  94. it’s looking at $Dir variables.
  95.  
  96.    The hit-list is stored as the text file “Hits” inside !FastTask. The format
  97. is very simple: a number, which is the number of times the directory has been
  98. found (must be 1 or more), a space, the full name of the directory. As
  99. mentioned above, deleting it will cause FastTask to re-create it next time it
  100. is run. The file will be updated when FastTask quits.
  101.  
  102. Choices
  103. *******
  104.  
  105.    Adjust-clicking on the main icon, or choosing “Choices...” will open the
  106. Choices window. If you don’t have Director or Compression, you will only be
  107. able to set the hot-key, which is the key combination used to open the
  108. FastTask window. Choose one that isn’t used by any task, not even Impression
  109. - which narrows the choice down a bit. Shift- or Ctrl-Tab are the sort of
  110. thing in mind, but they’re often used; combinations of Insert are also
  111. useful.
  112.  
  113.    To set the hot-key, just press the key-combination you want to use when
  114. the choices window is open.
  115.  
  116.    Clicking on the small “i” icon will run Help. See below for how to change
  117. it.
  118.  
  119.    If you have Director loaded, FastTask will create a Director menu called
  120. “FastTask” that behaves very much like the Memoriser menu, except that it’s
  121. the most *commonly* used *directories*, rather than the most recently used
  122. files. The option “Size of director menu” will modify the length of the menu -
  123. just click on the arrows or type in a new value in the usual way.
  124.  
  125.    If you have Compression (CFS), then you may end up with both compressed
  126. and uncompressed versions of the same paths - e.g. CFS#IDEFS::HD110.$ and
  127. IDEFS::HD110.$. (My fonts are all uncompressed, for instance). This isn’t
  128. usually a problem, except when you start searching the directory tree - in
  129. which case, the number of directories searched effectively doubles. Selecting
  130. “Only examine CFS when scanning” should solve this problem; it also has the
  131. side-effect of ignoring ResourceFS, uncompressed floppy drives and CDs, but
  132. then Resources:$.Apps should already be in the hit-list, and floppies and CDs
  133. are too slow.
  134.  
  135.    The previous option only ignores other filing systems when it hasn’t found
  136. a file in the hit-list, and is searching the entire directory tree; however,
  137. you will often want FastTask to ignore floppies or CDs *all the time* – after
  138. all, having removeable media in the list of directories to search means that
  139. FastTask may well ask you to insert them, only to find there wasn’t anything
  140. of interest there anyway. Choosing “Ignore drive :0” will stop directories on
  141. drive 0 – of any filing system – from being added to the hit-list.
  142.  
  143.    Finally, selecting “ignore non-executable files” will stop FastTask telling
  144. you about files it has found that match the description you gave it, but are
  145. not executable (i.e. their filetype is not in the “FileTypes” file – see
  146. below).
  147.  
  148. Extended commands
  149. *****************
  150.  
  151.    You don’t just have to run one file: you can give FastTask a list of
  152. filenames, separated by spaces, and it will attempt to load each of them in
  153. turn. You can also give FastTask such a list in its command-line – i.e.
  154. “Run CFS#IDEFS::HD110.$.Utilities.Files.!FastTask BlakHole2 FinalLook
  155. LineEditor” (which would turn FastTask into a rudimentary boot application).
  156. Note that you can’t do this with Filer_Run, because Filer_Run snips out the
  157. extra parameters.
  158.  
  159.    You can also do other things apart from running applications (although
  160. running them is the default) by using special commands. If you put “-boot”,
  161. “-open”, “-tinydir” or “-*<cmd>” (where <cmd> should be replaced by a single
  162. *command of your choice) anywhere in the list of filenames, all the filenames
  163. that follow the command will be passed to it – until another command is
  164. found. There is also a “-run” command, that will simply reset to the default
  165. action. So the string “-boot resed -open modules -tinydir link cc objasm -run
  166. webster” would boot !ResEd, open the Modules directory, add !Link, !CC and
  167. !ObjASM to the tinydirs (also known as “Pinboard on the icon bar”), and
  168. finally run !Webster.
  169.  
  170.    But the really serious bit is -*<cmd> (use this with caution, though – you
  171. could crash FastTask). For instance, if we set the following variables:
  172.  
  173. *Set Alias$SaveFullPath "echo |<FastTask$File> { >> pipe:$.output }"
  174. *Set Alias$PrintPaths taskwindow "print pipe:$.output" -quit
  175.  
  176. then the command line “-*SaveFullPath system boot modules templed
  177. -*PrintPaths system” would print the full paths of !System, !Boot,
  178. System:Modules and !TemplEd in a taskwindow. The only restriction is that
  179. <cmd> must be one word - but you can just define alias$cmd to get round that.
  180. The full pathname of the application handed to the command is held in the
  181. system variable FastTask$File.
  182.  
  183. Other stuff
  184. ***********
  185.  
  186.    If you have Director, assigning a keyboard short-cut to the FastTask menu
  187. is a good idea, as it means you can use FastTask with the mouse if you want.
  188. I personally use Shift-Insert, Ctrl-Insert and Shift-Ctrl-Insert for,
  189. respectively, FastTask’s window, Memoriser and FastTask’s Director menu.
  190.  
  191.    Shift and Control work the way they do in the Filer when you start a task
  192. - i.e. holding down shift  opens an application or loads a file into Edit,
  193. holding down Control doesn’t boot applications.
  194.  
  195.    If you want to use another interactive help provider than !Help, for
  196. instance StrongHelp or BubbleHlp, modify the bit in the !Run file that sets
  197. the variable Alias$GetHelp. Keep the Filer_Run bit in to start the help
  198. provider as a separate task.
  199.  
  200.    As mentioned above, FastTask doesn’t force you to enter an initial ‘!’ for
  201. a task – in fact, it expects you to have done so. If you have !Webster inside
  202. a directory called Webster, FastTask will run the application rather than
  203. opening the directory, even though the directory will be “found” first.
  204.  
  205.    Finally, you may also want to alter the list of filetypes FastTask thinks
  206. are runnable files. By default, directories and especially applications are
  207. considered as runnable, as well as modules, absolute files and utilities. You
  208. may want to add BASIC files, or even SoundTracker modules or Impression files.
  209. To do so, edit the “FileTypes” file inside !FastTask; each new file-type should
  210. be on a separate line. Filetype names should be case-sensitive; straight
  211. numbers might work as well. Beware: if you add too many, there might be
  212. conflicts. In particular, adding Obey files is rather stupid, as you might not
  213. be able to open your !Boot directory (type in !Boot, hold down Shift), as
  214. some application might be higher up the list than your root directory.
  215.  
  216.    Oh yes: “Wibble wobble fishcakes” is a quote from Terry Pratchett, Reaper
  217. Man I think.
  218.  
  219. Greetings, thank-yous
  220. *********************
  221.  
  222.    Credit where credit’s due, to Kemal Sangrar (gtmw03@arts.gla.ac.uk), who
  223. designed the icon and the main window, as well as writing a very early
  224. version of it (which I promptly threw away, but that’s life).
  225.  
  226.    Hellos also go to Nick Craig-Wood (author of Director - if you don’t have
  227. it, get it at once), Dick Alstein (TemplEd and WimpInfo), Dominic Symes
  228. (Zap), Cy Booker (BasCompress - if you haven’t registered yet, do so), Mark
  229. Greenwood, a.k.a. The Fat German (BlackHole), and Olly Betts (loads of neat
  230. modules like LineEditor, SpecialCase etc.). If I’m into waves, well, hello
  231. comp.sys.acorn. That should take care of most people ;-).
  232.  
  233. Boring legal message
  234. ********************
  235.  
  236.    This application is freeware, that is, it can be distributed freely as
  237. long as only reasonable charges are made for media and distribution. I retain
  238. copyright on all program code and documentation.
  239.  
  240.    This software is supplied “as is”: I make no warranty, expressed or
  241. implied, of the merchantability of this software or its fitness for any
  242. particular purpose. In no circumstances shall I be liable for any damage,
  243. loss of profits, or any indirect or consequential loss arising out of the use
  244. of this software or inability to use this software, even if I have been
  245. advised of the possibility of such loss.
  246.  
  247.    In other words, if your computer crashes, blows up, you lose all your work
  248. etc. all because of FastTask, *it’s not my fault*. Honest.
  249.  
  250. About all these strange foreign characters in this file
  251. *******************************************************
  252.  
  253.    OK, so if you’re reading this on a PC or a Mac or another strange machine
  254. like that, you may be wondering what all these strange ae things are. Well,
  255. they’re quotes (sorry, there was another one), dashes, ligatures, etc.
  256. Honest. But not on all machines...
  257.  
  258.    Basically, character sets are only standard up to character 127, which is
  259. basically alphanumerics and a few standard punctuation marks. Foreign
  260. characters, typographical oddities like quotes and ligatures, and other more
  261. obscure symbols are “non-standard”, and each computer often has its own idea
  262. of where they should go in the character set. So don’t worry: even if it’s
  263. hard to read on your current machine, it won’t be on an Acorn machine. It may
  264. look slightly strange if you’re using the System font, however.
  265.  
  266.    But why am I using these strange characters in the first place? Well,
  267. they’re in the character set and they look nice in an outine font, and I’ve
  268. written a program called Smart Quotes (sorry for the plug) that substitutes
  269. these sort of characters automatically, and I’ve got it turned on at the
  270. moment...
  271.  
  272. How to contact me
  273. *****************
  274.  
  275. All bug-reports, suggestions, comments or indeed any feedback at all will be
  276. welcomed. Here’s how to get to me:
  277.  
  278. E-mail     : 926286ki@udcf.gla.ac.uk during term-time
  279.              These should be OK until June 1996
  280.              I (probably) won’t be at Glasgow during the holidays, but mail
  281.              will be automatically forwarded to wombat@altern.com, which is
  282.              my French email address.
  283.  
  284. Snail-mail : My term-time address, at least until June 1995, is:
  285.              Sam Kington
  286.              Flat 2/1
  287.              44 Hotspur Street
  288.              Glasgow G20 8NL
  289.              SCOTLAND
  290.              
  291.              Again, a backup is the home address – anything that goes here will get
  292.              to me eventually.
  293.              Sam Kington
  294.              Merlhiot
  295.              24420 Savignac les Eglises
  296.              FRANCE
  297.  
  298. Term-time is October to June, with bits off at Christmas (3 weeks) and
  299. Easter (4 weeks).
  300.  
  301. If you want an updated version of this, send a disc and the appropriate stamp
  302. (or two discs) to the appropriate address. So if I’m in France, send a French
  303. stamp to the French address; if I’m in the UK, send a Brit stamp to Glasgow.
  304. And yes, the Brit address doesn’t last for very long anymore - sorry.
  305.  
  306. If you send me something in the UK, bear in mind that I don’t have
  307. (easy) access to Acorn machines, so don’t send me an Acorn disc, send me a PC
  308. disc.